package com.cskaoyan.bean.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author
 * @date 2021/10/25 1:33
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AddressListVO {

    //['id', 'userId', 'name', 'mobile', 'province', 'city', 'area', 'address', 'isDefault']
    private Integer id;

    private Integer userId;
    private String name;
    private String mobile;
    private String province;
    private String city;
    private String area;
    private String address;
    private Boolean isDefault;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date addTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    private Boolean deleted;
}
